package com.hgm.travelapp.utils;

import android.content.Context;
import android.widget.Toast;

public class ToastUtil {
    //短提示
    public static void toastShort(Context context,String msg){
        Toast.makeText(context,msg,Toast.LENGTH_SHORT).show();
    }

    //长提示
    public static void toastLong(Context context,String msg){
        Toast.makeText(context,msg,Toast.LENGTH_LONG).show();
    }

}
